﻿{include file="public/header" /}
			<div class="tab">
				<div class="tab-head">
					<strong>支付配置</strong>
					<ul class="tab-nav">
						<li {if $tab == ''}class="active"{/if}><a href="#tab-alipay">支付宝支付</a></li>
						<li {if $tab == 'wxpay'}class="active"{/if}><a href="#tab-wxpay">微信支付</a></li>
						<li {if $tab == 'other'}class="active"{/if}><a href="#tab-other">其他设置</a></li>
					</ul>
				</div>
				<div class="tab-body">
					<br />
					<div class="tab-panel {if $tab == ''}active{/if}" id="tab-alipay">
						<form method="post" class="form-x" action="">
							<div class="form-group">
								<div class="label">
									<label>开启</label>
								</div>
								<div class="field">
									<div class="button-group button-group-small radio">
										<label class="button {if $data.alipay_status == "1"}active{/if}">
											<input name="alipay_status" value="1" {if $data.alipay_status == "1"}checked="checked"{/if} type="radio"><span class="icon icon-check"></span> 开启</label>
										<label class="button {if $data.alipay_status == "0"}active{/if}">
											<input name="alipay_status" value="0" {if $data.alipay_status == "0"}checked="checked"{/if} type="radio"><span class="icon icon-times"></span> 关闭</label>
									</div>
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="partner">合作者身份ID</label>
								</div>
								<div class="field">
									<input type="text" class="input input-auto" id="partner" name="partner" value="{$data.partner}" size="80" placeholder="合作者身份ID" data-validate="required:不可为空" />
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="seller_id">支付宝账号</label>
								</div>
								<div class="field">
									<input type="text" class="input input-auto" id="seller_id" name="seller_id" value="{$data.seller_id}" size="80" placeholder="支付宝账号" data-validate="required:不可为空" />
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="app_id">APPID</label>
								</div>
								<div class="field">
									<input type="text" class="input input-auto" id="app_id" name="app_id" value="{$data.app_id}" size="80" placeholder="开方平台应用ID" data-validate="required:不可为空" />
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="privatekey">privatekey</label>
								</div>
								<div class="field">
									<textarea name="privatekey" class="input input-auto" rows="15" cols="80" placeholder="（支付宝私钥）去头去尾一串字符串" data-validate="required:不可为空">{$data.privatekey}</textarea>
								</div>
							</div>
							<div class="form-button">
								<button class="button bg-main" type="submit">提交</button>
							</div>
						</form>
					</div>
					<div class="tab-panel {if $tab == 'wxpay'}active{/if}" id="tab-wxpay">
						其他设置
					</div>
					<div class="tab-panel {if $tab == 'other'}active{/if}" id="tab-other">其他设置</div>
				</div>
			</div>
{include file="public/footer" /}